import Main from '@/components/layout/index.vue'

export default [
	{
		path:'/',
		name:'home',
		component:Main,
		meta:{
			title:'首页',
			icon:'md-add',
			hideInMenu:false
		}
	},
	{
		path:'/login',
		name:'login',
		component:()=>import("@/components/layout/login.vue"),
		meta:{
		  title: "登录页",
		  icon:'md-add',
		  hideInMenu: true,
		  isParent: false
		}
	},
	{
		path:"/access",
		name:'access',
		component:Main,
		meta:{
			title:'系统相关',
			icon:'el-icon-s-tools',
			hideInMenu:false,
			isParent: false
		},
		children:[
			{
				path:'system-actuator',
				name:'system-actuator',
				component:()=>import("@/views/system/actuator-index.vue"),
				meta:{
					title:'请求监控',
					icon:'el-icon-view',
					hideInMenu:false,
					isParent:false
				}
			},
			{
                path:'system-optional-log',
                name:'system-optional-log',
                component:()=>import("@/views/system/optional-log-index.vue"),
                meta:{
                    title:'常规日志',
                    icon:'el-icon-document-checked',
                    hideInMenu:false,
                    isParent:false
                }
			},
            {
                path:'system-error-log',
                name:'system-error-log',
                component:()=>import("@/views/system/error-log-index.vue"),
                meta:{
                    title:'错误日志',
                    icon:'el-icon-document-delete',
                    hideInMenu:false,
                    isParent:false
                }
            },
			{
				path:'system-dictionaries',
				name:'system-dictionaries',
				component:()=>import("@/views/system/dictionaries-index.vue"),
				meta:{
					title:'字典管理',
					icon:'el-icon-collection',
					hideInMenu:false,
					isParent:false
				}
			},
			{
				path:'perm-permission',
				name:'perm-permission',
				component:()=>import("@/views/access/permission-index.vue"),
				meta:{
					title:'权限管理',
					icon:'el-icon-link',
					hideInMenu:false,
					isParent:false
				}
			},
			{
				path:'perm-role',
				name:'perm-role',
				component:()=>import("@/views/access/role-index.vue"),
				meta:{
					title:'角色管理',
					icon:'el-icon-connection',
					hideInMenu:false,
					isParent:false
				}
			},
			{
				path:'perm-user',
				name:'perm-user',
				component:()=>import("@/views/access/user-index.vue"),
				meta:{
					title:'用户管理',
					icon:'el-icon-s-custom',
					hideInMenu:false,
					isParent:false
				}
			}
		]
	},
	{
		path:'/academic',
		name:'academic',
		component:Main,
		meta:{
			title:'学术管理',
			icon:'el-icon-s-management',
			hideInMenu:false,
			isParent:false
		},
		children:[
			{
                path:'academic-school',
                name:'academic-school',
                component:()=>import("@/views/academic/school-index.vue"),
                meta:{
                    title:'学校管理',
                    icon:'el-icon-goblet',
                    hideInMenu:false,
                    isParent:false
                }
			},
            {
                path:'academic-curriculum',
                name:'academic-curriculum',
                component:()=>import("@/views/academic/curriculum-index.vue"),
                meta:{
                    title:'阶段管理',
                    icon:'el-icon-goblet-full',
                    hideInMenu:false,
                    isParent:false
                }
            },
            {
                path:'academic-books',
                name:'academic-books',
                component:()=>import("@/views/academic/books-index.vue"),
                meta:{
                    title:'课程管理',
                    icon:'el-icon-goblet-square',
                    hideInMenu:false,
                    isParent:false
                }
            },
			{
                path:'academic-chapter',
                name:'academic-chapter',
                component:()=>import("@/views/academic/chapter-index.vue"),
                meta:{
                    title:'章节管理',
                    icon:'el-icon-goblet-square-full',
                    hideInMenu:false,
                    isParent:false
                }
			},
			{
                path:'academic-single',
                name:'academic-single',
                component:()=>import("@/views/academic/single-index.vue"),
                meta:{
                    title:'录入单选',
                    icon:'el-icon-arrow-right',
                    hideInMenu:false,
                    isParent:false
                }
			},
            {
                path:'academic-selection',
                name:'academic-selection',
                component:()=>import("@/views/academic/selection-index.vue"),
                meta:{
                    title:'录入多选',
                    icon:'el-icon-d-arrow-right',
                    hideInMenu:false,
                    isParent:false
                }
            },
            {
                path:'academic-ask',
                name:'academic-ask',
                component:()=>import("@/views/academic/ask-index.vue"),
                meta:{
                    title:'录入问答',
                    icon:'el-icon-edit-outline',
                    hideInMenu:false,
                    isParent:false
                }
            },
            {
                path:'academic-upper',
                name:'academic-upper',
                component:()=>import("@/views/academic/upper-index.vue"),
                meta:{
                    title:'录入上机',
                    icon:'el-icon-mobile-phone',
                    hideInMenu:false,
                    isParent:false
                }
            },
            {
                path:'academic-exam',
                name:'academic-exam',
                component:()=>import("@/views/academic/exam-index.vue"),
                meta:{
                    title:'试卷相关',
                    icon:'el-icon-mobile-phone',
                    hideInMenu:false,
                    isParent:false
                }
            }
		]
	},
	{
		path:'/quality',
		name:'quality',
		component:Main,
		meta:{
			title:'教质管理',
			icon:'el-icon-s-opportunity',
			hideInMenu:false,
			isParent:false
		},
		children: [
			{
				path:'quality-classes',
				name:'quality-classes',
				component:()=>import("@/views/quality/classes-index.vue"),
				meta:{
					title:'班级管理',
					icon:'el-icon-office-building',
					hideInMenu:false,
					isParent:false
				}
			},
			{
				path:'quality-student',
				name:'quality-student',
				component:()=>import("@/views/quality/student-index.vue"),
				meta:{
					title:'学生管理',
					icon:'el-icon-user',
					hideInMenu:false,
					isParent:false
				}
			}
		]
	},
	{
		path:'/student-online',
		name:'student-online',
		component: Main,
		meta:{
			title:'学生专栏',
			icon:'el-icon-user-solid',
			hideInMenu:false,
			isParent:false
		},
		children:[
			{
				path:'student-exam',
				name:'student-exam',
				component:()=>import("@/views/student/student-exam-index.vue"),
				meta:{
					title:'我的试卷',
					icon:'el-icon-s-management',
					hideInMenu:false,
					isParent:false
				}
			}
		]
	}
]